package com.fog.student.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.fog.student.dto.CourseDto;
import com.fog.student.entity.Class;
import com.fog.student.entity.Course;

public interface CourseService extends IService<Course> {

    Page<CourseDto> pageSearch(int page, int pageSize, String name);

    Page<CourseDto> selectSearch(int page,int pageSize,String name);

    Page<CourseDto> noSelectSearch(int page,int pageSize,String name);

    void addCourse(CourseDto courseDto);

    Page<Course> selectTeacherCourse(int page,int pageSize,String name);

    void deleteCourse(String ids);
}
